{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf320
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural

\f0\b\fs24 \cf0 \ul \ulc0 Installing GDL\

\b0 \ulnone \
GDL is an open source IDL compiler.  It is available here: http://gnudatalanguage.sourceforge.net/index.php.  ALL of the steps below must be followed (including installing Craig Markwardt's library).\
\

\i Install\

\i0 \
The easiest way to install GDL is from a number of repositories for mac and linux.  I've only ever installed from MacPorts where it's stored as 'gnudatalanguage'.  First download and set up Macports (on a Mac only), http://www.macports.org/.  Then type:\
\
sudo port install gnudatalanguage\
\
This may take a while if this is the first package you've downloaded.\
\
On Ubuntu it'd be something like:\
\
apt-get install gdl\
\
\

\i Set the GDL path\

\i0 \
In your .profile or .bashrc file add the following line, which points to a startup file that GDL will execute when it starts up:\
\
export GDL_STARTUP=/this/is/my/gdl_startup.pro\
\
Then create and open the gdl_startup.pro file in a text editor.  All you'll need to do is add a line that looks something like this:\
\
!PATH=!PATH + ':/directory/where/my/programs/live'\
\
If you want to add all the sub-folders of a particular folder, then use the following line instead:\
\
!PATH=!PATH + ':' + EXPAND_PATH('+/directory/where/my/programs/live')\
\
If you want to add lots of different directories, just add additional lines like the above, one after the other.\
\
\

\i Install Craig Markwardt's library (to save and restore IDL variables)\

\i0 \
Download this file: http://cow.physics.wisc.edu/~craigm/idl/down/cmsvlib.tar.gz  Untar and unzip it (e.g. tar xvfz cmsvlib.tar.gz), and place the folder where the GDL path will see it (or add a line to the GDL startup files that this directory will be read by GDL).\
\
\
}